<script type="text/javascript" src="__PUBLIC__/js/jquery-1.8.3.min.js"></script>
<link rel="Stylesheet" type="text/css" href="__PUBLIC__/Home/css/loginDialog.css" />

 <div id="upload">
        <div class="row1">
            <a id="gai">密码修改</a><a href="javascript:void(0)" title="关闭窗口" class="close_btn" id="closeBtn">×</a>
        </div>
        <div class="row">
            旧密码: <span class="inputBox">
                <input type="password" name="oldpassword" id="oldpassword" value="<{$home_user['password']}>" placeholder="旧密码" />
            </span>
        </div>
        <div class="row">
            新密码: <span class="inputBox">
                <input type="password" name="newpassword" id="newpassword" placeholder="密码" />
            </span>
        </div>
         <div class="row" >
            手机验证: <span class="inputBox" >
                <input type="text" name="shouji" id="yanzheng" placeholder="验证码" style="width:50px"/>
            </span>
                <a id="fa">点击发送</a>
        </div>

        <div class="row">
            <a href="#" id="loginbtn">保存</a>
        </div>
    </div>

    <script type="text/javascript">
	$(function ($) {
		//弹出登录
		$("#example").hover(function () {
			$(this).stop().animate({
				opacity: '1'
			}, 600);
		}, function () {
			$(this).stop().animate({
				opacity: '0.6'
			}, 1000);
		}).on('click', function () {
			$("body").append("<div id='mask'></div>");
			$("#mask").addClass("mask").fadeIn("slow");
			$("#upload").fadeIn("slow");
		});
		

		// 容联云短信
		$("#fa").click(function(){
			$("#fa").html("<a>已发送</a>");
			$.ajax({
				url:"<{:U('Index/coteajax')}>",
				type:'post',
				dataType:'json',
				data:{phone:<{$phone}>},
				success:function(result){

					$(".row").append('<input type="hidden" id="yz" value='+result.slice('0','-4')+">")
				}
			})
		})

		// 修改密码
		$("#loginbtn").click(function(){
			var oldpassword = $("#oldpassword").val();
			var newpassword = $("#newpassword").val();
			var yanzheng = $("#yanzheng").val();
			var yz = $("#yz").val();

			$.ajax({
				url:"<{:U('Index/verify')}>",
				type:'post',
				dataType:'json',
				data:{oldpassword:oldpassword,newpassword:newpassword,yanzheng:yanzheng,yz:yz},
				success:function(result){
					$("#gai").html("<a #gai style='color:red'>"+result+"</a>");
				}
			})
		})


		//按钮的透明度
		$("#loginbtn").hover(function () {
			$(this).stop().animate({
				opacity: '1'
			}, 600);
		}, function () {
			$(this).stop().animate({
				opacity: '0.8'
			}, 1000);
		});
		//文本框不允许为空---按钮触发
		$("#loginbtn").on('click', function () {
			var txtName = $("#txtName").val();
			var txtPwd = $("#txtPwd").val();
			if (txtName == "" || txtName == undefined || txtName == null) {
				if (txtPwd == "" || txtPwd == undefined || txtPwd == null) {
					$(".warning").css({ display: 'block' });
				}
				else {
					$("#warn").css({ display: 'block' });
					$("#warn2").css({ display: 'none' });
				}
			}
			else {
				if (txtPwd == "" || txtPwd == undefined || txtPwd == null) {
					$("#warn").css({ display: 'none' });
					$(".warn2").css({ display: 'block' });
				}
				else {
					$(".warning").css({ display: 'none' });
				}
			}
		});
		//文本框不允许为空---单个文本触发
		$("#txtName").on('blur', function () {
			var txtName = $("#txtName").val();
			if (txtName == "" || txtName == undefined || txtName == null) {
				$("#warn").css({ display: 'block' });
			}
			else {
				$("#warn").css({ display: 'none' });
			}
		});
		$("#txtName").on('focus', function () {
			$("#warn").css({ display: 'none' });
		});
		//
		$("#txtPwd").on('blur', function () {
			var txtName = $("#txtPwd").val();
			if (txtName == "" || txtName == undefined || txtName == null) {
				$("#warn2").css({ display: 'block' });
			}
			else {
				$("#warn2").css({ display: 'none' });
			}
		});
		$("#txtPwd").on('focus', function () {
			$("#warn2").css({ display: 'none' });
		});
		//关闭
		$(".close_btn").hover(function () { $(this).css({ color: 'black' }) }, function () { $(this).css({ color: '#999' }) }).on('click', function () {
			$("#upload").fadeOut("fast");
			$("#mask").css({ display: 'none' });
		});
	});
	</script>

<div id="hd" class="hd hd-wrap ">
		<div class="drop-ax-container">
		</div>
		<style type="text/css">
    .drop-ax.dropped .drop-ax-countdown{
        color:#173d6a;
    }
    .drop-ax.dropping .drop-ax-countdown{
        color:#d6433c;
    }
    .drop-ax.dropped .drop-ax-countdown-day{
        left:754px;
    }
    .drop-ax.dropped .drop-ax-countdown-hour{
        left:830px;
    }
    .drop-ax.dropped .drop-ax-countdown-minute{
        left:905px;
    }
   .drop-ax {
       z-index:1!important;
   }
		</style>
		<div class="read-hd read-hd-bottom">
			<div class="read-searchbox-wp">
				<div class="read-searchbox-inner wrap-page-width">
					<a href="<{:U('Home/index/index')}>" class="read-logo">
						<img class="read-logo"src="__UPLOAD__/<{$b.photo}>">
					</a>
					<div class="read-searchbox">
						<form name="search" class="search" action="<{:U('Search/index')}>" method="post">
							<input type="text" name="word" class="s-word" maxlength="256" tabindex="1" value="<{$word}>" autocomplete="off" id="s-word-1"/>
							<span class="s-placeholder" style="display:none;">在数十万册图书中搜索</span>
							<input type="hidden" name="pbook" value="0" id="s-pbook" class="s-pbook">
							<input type="button" class="s-submit" value="搜索图书"/>
						</form>
						<div class="hot-search-list">
							<a target="_blank" class="hot-search mr10	">龙应台</a>
							<a target="_blank" class="hot-search mr10	">南有乔木</a>
							<a target="_blank" class="hot-search mr10	">后宫如懿传</a>
							<a target="_blank" class="hot-search mr10	">法医秦明</a>
							<a target="_blank" class="hot-search mr10	">如若有你，一生何求</a>
						</div>
					</div>
					<div class="read-userbar-wp">
						<ul class="read-userbar clearfix read-user-logined">
							<li class="ub-li ub-li-mybook">
							<span class="ub-border"></span>
							<a target="_blank" href='<{:U("$val[url]")}>' class="ub-item ub-item-mybook j_ub-drop-toggle">
							<span class="ub-txt"><{$val.name}></span>
							<span class="arr"></span>
							</a>
							<if condition="$val.name eq '登录'">
							<else />
							<ul class="ub-drop j_ub-drop">
								<li><a target="_blank" href="<{:U('Home/Mycenter/index')}>">个人中心</a></li>
								<li class="line"><a target="_blank" href="<{:U('Home/collection/index')}>">我的收藏</a></li>
								<li class="line"><a href="#" id="example">密码修改</a></li>
								<li class="line"><a href="<{:U('Home/Login/logout')}>">退出</a></li>
							</ul>	
							</if>
							</li>
							<li class="ub-li ub-li-cart"><span class="ub-border"></span><a target="_blank" class="ub-item ub-cart" href="/cart/mycart?fr=header_user_bar"><span class="ub-txt">购物车</span></a></li>
							<li class="ub-li ub-li-tequan" style="margin-right:0px;"><span class="ub-border"></span><a target="_blank" class="ub-item ub-tequan log-xsend" data-logxsend="[2, 200226]" href="http://tieba.baidu.com/p/4471901647?share=9105&fr=share"><span class="ub-txt">意见反馈</span></a></li>
							<li class="ub-li ub-li-message">
							<a href="/ydmessage/browse/msgcenter" class="ub-item ub-item-message" id="js-ub-msg">
							<span class="ub-message-icon"></span>
							<span class="ub-txt">消息</span>
							<span class="ub-message-num"></span>
							</a>
							<div class="ub-message-tip" style="display:none;">
								<a href="/ydmessage/browse/msgcenter?tab=2" class="msg-tip-item profit-msg">您有新的收益</a>
								<a href="/ydmessage/browse/msgcenter?tab=1" class="msg-tip-item comment-msg">您有新的评论</a>
								<a href="/ydmessage/browse/msgcenter?tab=2" class="msg-tip-item system-msg">您有新系统消息</a>
								<a href="###" class="msg-tip-close"></a>
								<span class="msg-tip-arr"></span>
							</div>
							</li>
						</ul>
					</div>
				</div>
			</div>
			<div class="read-nav-wp">
				<div class="read-nav-inner wrap-page-width">
					<ul class="read-nav clearfix">
						<li class="nav-li-index"><a class="nav-index" href="<{:U('Home/Index/index')}>"><span>首页</span></a><span class="nav-border"></span></li>
						<li class="nav-li-category"><a class="nav-category" href="<{:U('Home/List/index')}>"><span>分类</span></a><span class="nav-border"></span></li>
						<li class="nav-li-rank"><a class="nav-rank" href="/rank/hotsale"><span>榜单</span></a><span class="nav-border"></span></li>
						<li class="nav-li-author"><a class="nav-author" href="/author" target="_blank"><span>独家作品</span></a><span class="nav-border"></span></li>
						<li class="nav-li-org"><a class="nav-org" href="/partner/index?fr=indextop"><span>机构专区</span></a><span class="nav-border"></span></li>
						<li class="nav-li-app"><a class="nav-app" href="/apps"><span>客户端</span></a><span class="nav-border"></span></li>
					</ul>
					<ul class="read-nav-right clearfix">
						<li class="nav-right-li"><a href="/partner/browse/partnerbookwelcome?fr=head_nav" class="nav-right-mypartner"><span class="nav-right-mypartner-icon"></span>我是机构</a></li>
						<li class="nav-right-li"><a href="/partner/browse/myworks?fr=head_nav" class="nav-right-myauthor"><span class="nav-right-myauthor-icon"></span>我是作者</a></li>
						<li class="nav-right-li"><a href="<{:U('Home/Collection/index')}>"><span class="nav-right-mybook-icon"></span>我的书架</a></li>
					</ul>
				</div>
			</div>
			<div class="read-hd-ad">
			</div>
		</div>
	</div>
	<script type="text/javascript">
			    (function() {
			        var fontWrapClass = '';
			        if (/windows/i.test(navigator.userAgent)) {
			            var winNt = navigator.userAgent.match(/Windows NT (\d).(\d)/);
			            if ((+winNt[1]) > 5) {
			                fontWrapClass = 'mod-font-win7';
			            }
			        } else if (/macintosh/i.test(navigator.userAgent)) {
			            fontWrapClass = 'mod-font-mac';
			        }
			        if (fontWrapClass === '') {
			            fontWrapClass = 'mod-font-other';
			        }
			        document.body.className += fontWrapClass;
			    }());
			</script>
<script>
	(function(Data) {
		var WkInfo = Data.get("WkInfo") || {};
		WkInfo.PageInfo = {
			'isLogin' : true,
			'copyright' : "", //copyright
			'tpl'     :  "wk_info",
			'docTypeList':[[ 'none', '' ],
					       [ 'doc', 'Word文档' ],
					       [ 'xls', 'Excel表格' ],
					       [ 'ppt', 'PPT文稿' ],
					       [ 'doc', 'Word文档' ],
					       [ 'xls', 'Excel表格' ],
					       [ 'ppt', 'PPT文稿' ],
					       [ 'pdf', 'pdf文档' ],
					       [ 'txt', 'txt文档' ],
					       [ 'wps', 'Word（金山）' ],
					       [ 'et', 'Excel（金山）' ],
					       [ 'dps', 'PPT（金山）' ],
					       [ 'vsd', 'Visio绘图' ],
					       [ 'rtf', 'rtf文档' ],
					       [ 'pot', 'PPT模板' ],
					       [ 'pps', 'PPT放映' ],
					       [ 'epub', 'ePub文档' ]]
		};
				WkInfo.UserInfo = {
			'wealth'       : "0", 
			'payed'        : false, 
			'userName'     : "", 
			'userGradeNum' : "1", 
			'isCreater'    : false, 
			'isLimit'	   : false,
			'isNoUsername' : false, 
			'isAdmin'      : false 
		};
		WkInfo.errMsg = {
			0 : "提交成功",
			1 : "系统错误",
			2 : "用户未登陆",
			5 : "操作频率太快",
			11: "提交参数非法"
		};
				Data.set("WkInfo",WkInfo);
	}(window.__fisData));
</script>
	
	<script id="DQTuisong" src="http://static.pay.baidu.com/resource/tuisong/v1/tuiSong.js" data-config="false"></script>

	<script>with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://img.baidu.com/hunter/yuedu.js?st='+~(new Date()/864e5)];</script>
<script type="text/javascript">
		var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
		document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Ffa7ccc33a1f01df356d6235a32034c37' type='text/javascript'%3E%3C/script%3E"));
	</script>
<script>
    window.alogObjectConfig = {
        product: '113',
        page: '113_19',
        speed_page: '',
        speed: {
            sample: '1'
        }
    };
    void function(a,b,c,d,e,f){function g(b){a.attachEvent?a.attachEvent("onload",b,!1):a.addEventListener&&a.addEventListener("load",b)}function h(a,c,d){d=d||15;var e=new Date;e.setTime((new Date).getTime()+1e3*d),b.cookie=a+"="+escape(c)+";path=/;expires="+e.toGMTString()}function i(a){var c=b.cookie.match(new RegExp("(^| )"+a+"=([^;]*)(;|$)"));return null!=c?unescape(c[2]):null}function j(){var a=i("PMS_JT");if(a){h("PMS_JT","",-1);try{a=a.match(/{["']s["']:(\d+),["']r["']:["']([\s\S]+)["']}/),a=a&&a[1]&&a[2]?{s:parseInt(a[1]),r:a[2]}:{}}catch(c){a={}}a.r&&b.referrer.replace(/#.*/,"")!=a.r||alog("speed.set","wt",a.s)}}if(a.alogObjectConfig){var k=a.alogObjectConfig.sample,l=a.alogObjectConfig.rand;if("https:"===a.location.protocol){if(d="https://gss2.bdstatic.com/70cFsjip0QIZ8tyhnq"+d,!k||!l)return}else d="http://img.baidu.com"+d;k&&l&&l>k||(g(function(){alog("speed.set","lt",+new Date),e=b.createElement(c),e.async=!0,e.src=d+"?v="+~(new Date/864e5),f=b.getElementsByTagName(c)[0],f.parentNode.insertBefore(e,f)}),j())}}(window,document,"script","/hunter/alog/dp.min.js");
</script>
<div id="side-bar">
	<div class="btn-wrap mb5">
		<a href="###" class="side-bar-item gotop"><span class="ic"></span></a>
		<a href="###" class="side-bar-item weixin">
		<span class="ic"></span>
		<span class="text-tip">关注<br>
		微信</span>
		<span class="tooltips-box side-bar-qr-wp">
		<span class="abox"><span class="a1"></span><span class="a2"></span></span>
		<span class="side-bar-qr"></span>
		<span class="side-bar-qr-txt">扫描二维码，快速分享到微信朋友圈</span>
		</span>
		</a>
		<a href="http://weibo.com/readbaidu" class="side-bar-item weibo" target="_blank"><span class="ic"></span><span class="text-tip">关注<br>
		微博</span></a>
	</div>
	<div class="btn-wrap">
		<a href="http://tieba.baidu.com/p/4471901647?share=9105&fr=share" class="side-bar-item fankui log-xsend" data-logxsend="[2, 200206]" target="_blank"><span class="ic">意见反馈</span><span class="text-tip">意见反馈</span></a>
	</div>
	<div class="feedback-remind">
		<a href="###" class="feedback-remind-close"></a>
		<div class="feedback-remind-content">
		</div>
		<a href="http://tieba.baidu.com/p/4471901647?share=9105&fr=share" target="_blank" class="feedback-remind-link log-xsend" data-logxsend="[2, 200206]"></a>
	</div>
</div>
<script type="text/javascript" charset="UTF-8" src="http://zhifu.baidu.com/static/js/pc/iframe/lbscashier-iframe.js?t=1478674156"></script>
<script type="text/javascript">var pageId='wenku-yuedu-index';</script>
<script type="text/javascript" src="http://img.baidu.com/hunter/wenkumonkey.min.js"></script>
<script>alog && alog('speed.set', 'drt', +new Date);</script>
</body>
<script type="text/javascript" src="http://static.wenku.bdimg.com/static/ydcommon/modjs/mod_21fbee4.js"></script>
<script type="text/javascript">require.resourceMap({"res":{"ydcommon:widget/lib/fis/data/data.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/lib/fis/data/data_c8d86b7.js","pkg":"ydcommon:p5"},"ydcommon:widget/lib/fis/template/template.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/lib/fis/template/template_d04cd23.js","pkg":"ydcommon:p5"},"ydcommon:widget/lib/tangram/base/base.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/lib/tangram/base/base_135f589.js","pkg":"ydcommon:p5","deps":["ydcommon:widget/ui/lib/jquery/jquery.js","ydcommon:widget/ui/lib/array/array.js","ydcommon:widget/ui/lib/browser/browser.js","ydcommon:widget/ui/lib/cookie/cookie.js","ydcommon:widget/ui/lib/date/date.js","ydcommon:widget/ui/lib/json/json.js","ydcommon:widget/ui/lib/lang/lang.js","ydcommon:widget/ui/lib/object/object.js","ydcommon:widget/ui/lib/number/number.js","ydcommon:widget/ui/lib/page/page.js","ydcommon:widget/ui/lib/sio/sio.js","ydcommon:widget/ui/lib/string/string.js","ydcommon:widget/ui/lib/url/url.js","ydcommon:widget/ui/lib/swf/swf.js","ydcommon:widget/ui/lib/platform/platform.js"]},"ydcommon:widget/ui/lib/array/array.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/lib/array/array_4ac5e40.js","pkg":"ydcommon:p5"},"ydcommon:widget/ui/lib/browser/browser.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/lib/browser/browser_8a9b5be.js","pkg":"ydcommon:p5"},"ydcommon:widget/ui/lib/cookie/cookie.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/lib/cookie/cookie_50c66ca.js","pkg":"ydcommon:p5"},"ydcommon:widget/ui/lib/date/date.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/lib/date/date_7957042.js","pkg":"ydcommon:p5","deps":["ydcommon:widget/ui/lib/number/number.js"]},"ydcommon:widget/ui/lib/jquery/jquery.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/lib/jquery/jquery_13f20bf.js","pkg":"ydcommon:p5"},"ydcommon:widget/ui/lib/json/json.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/lib/json/json_a593455.js","pkg":"ydcommon:p5"},"ydcommon:widget/ui/lib/lang/lang.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/lib/lang/lang_eaf46a7.js","pkg":"ydcommon:p5"},"ydcommon:widget/ui/lib/number/number.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/lib/number/number_c200825.js","pkg":"ydcommon:p5"},"ydcommon:widget/ui/lib/object/object.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/lib/object/object_d801a39.js","pkg":"ydcommon:p5","deps":["ydcommon:widget/ui/lib/lang/lang.js"]},"ydcommon:widget/ui/lib/page/page.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/lib/page/page_ddf9d38.js","pkg":"ydcommon:p5","deps":["ydcommon:widget/ui/lib/jquery/jquery.js"]},"ydcommon:widget/ui/lib/platform/platform.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/lib/platform/platform_aa8d836.js","pkg":"ydcommon:p5"},"ydcommon:widget/ui/lib/sio/sio.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/lib/sio/sio_cba0473.js","pkg":"ydcommon:p5","deps":["ydcommon:widget/ui/lib/lang/lang.js"]},"ydcommon:widget/ui/lib/string/string.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/lib/string/string_6043ea3.js","pkg":"ydcommon:p5"},"ydcommon:widget/ui/lib/swf/swf.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/lib/swf/swf_88a0722.js","pkg":"ydcommon:p5","deps":["ydcommon:widget/ui/lib/browser/browser.js","ydcommon:widget/ui/lib/array/array.js","ydcommon:widget/ui/lib/lang/lang.js","ydcommon:widget/ui/lib/string/string.js"]},"ydcommon:widget/ui/lib/url/url.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/lib/url/url_64f2eca.js","pkg":"ydcommon:p5","deps":["ydcommon:widget/ui/lib/string/string.js","ydcommon:widget/ui/lib/object/object.js","ydcommon:widget/ui/lib/lang/lang.js"]},"ydcommon:widget/ui/lib/value/value.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/lib/value/value_2f35f17.js","pkg":"ydcommon:p5"},"ydcommon:widget/ui/read/yui/dialog/jquery.bgiframe.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/read/yui/dialog/jquery.bgiframe_61d8107.js","pkg":"ydcommon:p7","deps":["ydcommon:widget/ui/lib/browser/browser.js","ydcommon:widget/ui/lib/jquery/jquery.js"]},"ydcommon:widget/ui/read/yui/dialog/dialog.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/read/yui/dialog/dialog_9d0a397.js","pkg":"ydcommon:p7","deps":["ydcommon:widget/ui/lib/jquery/jquery.js","ydcommon:widget/ui/js_core/widget/widget.js","ydcommon:widget/ui/js_core/util/util.js","ydcommon:widget/ui/js_core/layerControl/layerControl.js","ydcommon:widget/ui/lib/browser/browser.js","ydcommon:widget/lib/tangram/base/base.js","ydcommon:widget/ui/read/yui/dialog/jquery.bgiframe.js"]},"ydcommon:widget/ui/read/yui/pager/pager.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/read/yui/pager/pager_c3b1447.js","pkg":"ydcommon:p7","deps":["ydcommon:widget/lib/tangram/base/base.js","ydcommon:widget/ui/js_core/widget/widget.js","ydcommon:widget/ui/js_core/util/util.js"]},"ydcommon:widget/ui/js_core/login/login.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/js_core/login/login_a487578.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/lib/tangram/base/base.js","ydcommon:widget/ui/js_core/dialog/dialog.js","ydcommon:widget/lib/fis/data/data.js","ydcommon:widget/ui/js_core/log/log.js"]},"ydcommon:widget/ui/js_core/log/log.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/js_core/log/log_662b601.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/lib/tangram/base/base.js","ydcommon:widget/ui/js_core/util/util.js","ydcommon:widget/lib/fis/data/data.js"]},"ydcommon:widget/ui/js_core/util/util.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/js_core/util/util_a6844db.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/lib/tangram/base/base.js"]},"ydcommon:widget/ui/js_core/widget/widget.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/js_core/widget/widget_4be9f1d.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/lib/tangram/base/base.js","ydcommon:widget/ui/js_core/util/util.js"]},"ydcommon:widget/ui/js_core/layerControl/layerControl.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/js_core/layerControl/layerControl_c280071.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/lib/tangram/base/base.js","ydcommon:widget/ui/js_core/widget/widget.js","ydcommon:widget/ui/js_core/util/util.js"]},"ydcommon:widget/ui/js_core/mask/mask.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/js_core/mask/mask_49ab5c3.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/lib/tangram/base/base.js","ydcommon:widget/ui/js_core/widget/widget.js","ydcommon:widget/ui/js_core/util/util.js","ydcommon:widget/ui/js_core/layerControl/layerControl.js"]},"ydcommon:widget/ui/js_core/lightMask/lightMask.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/js_core/lightMask/lightMask_a27636e.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/ui/lib/jquery/jquery.js"]},"ydcommon:widget/ui/js_core/dialog/dialog.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/js_core/dialog/dialog_8826ea7.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/lib/tangram/base/base.js","ydcommon:widget/ui/js_core/widget/widget.js","ydcommon:widget/ui/js_core/util/util.js"]},"ydcommon:widget/ui/js_core/_dialog/mask.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/js_core/_dialog/mask_68b2db7.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/lib/tangram/base/base.js","ydcommon:widget/ui/js_core/util/util.js","ydcommon:widget/ui/js_core/mask/mask.js"]},"ydcommon:widget/ui/js_core/_dialog/_dialog.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/js_core/_dialog/_dialog_cfc9669.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/lib/tangram/base/base.js","ydcommon:widget/ui/js_core/widget/widget.js","ydcommon:widget/ui/js_core/util/util.js","ydcommon:widget/ui/js_core/layerControl/layerControl.js","ydcommon:widget/ui/js_core/_dialog/mask.js"]},"ydcommon:widget/ui/js_core/tabs/tabs.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/js_core/tabs/tabs_04dadd6.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/lib/tangram/base/base.js","ydcommon:widget/ui/js_core/widget/widget.js"]},"ydcommon:widget/ui/js_core/countdown/countdown.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/js_core/countdown/countdown_a595aab.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/ui/lib/jquery/jquery.js"]},"ydcommon:widget/ui/js_core/qrcode/qrcode.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/js_core/qrcode/qrcode_e906ef9.js","pkg":"ydcommon:p6"},"ydcommon:widget/ui/js_core/preload/preload.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/js_core/preload/preload_d4a2855.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/lib/tangram/base/base.js"]},"ydcommon:widget/ui/js_core/mvp/event/event.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/js_core/mvp/event/event_f89227b.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/lib/tangram/base/base.js","ydcommon:widget/ui/js_core/util/util.js"]},"ydcommon:widget/ui/js_core/mvp/model/model.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/js_core/mvp/model/model_6fb15d5.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/lib/tangram/base/base.js","ydcommon:widget/ui/js_core/util/util.js"]},"ydcommon:widget/ui/js_core/mvp/presenter/presenter.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/js_core/mvp/presenter/presenter_605ba0c.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/lib/tangram/base/base.js","ydcommon:widget/ui/js_core/util/util.js"]},"ydcommon:widget/ui/js_core/mvp/route/route.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/js_core/mvp/route/route_49f2f4a.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/lib/tangram/base/base.js"]},"ydcommon:widget/ui/js_core/mvp/template/template.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/js_core/mvp/template/template_99cec51.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/lib/tangram/base/base.js"]},"ydcommon:widget/ui/js_core/mvp/view/view.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/js_core/mvp/view/view_c3e5a25.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/lib/tangram/base/base.js","ydcommon:widget/ui/js_core/util/util.js","ydcommon:widget/ui/js_core/mvp/template/template.js"]},"ydcommon:widget/ui/js_core/template/template.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/js_core/template/template_968b424.js","pkg":"ydcommon:p6"},"ydcommon:widget/ui/payCheck/payCheck.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/payCheck/payCheck_60db880.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/lib/tangram/base/base.js","ydcommon:widget/ui/lib/jquery/jquery.js","ydcommon:widget/ui/read/yui/dialog/dialog.js","ydcommon:widget/ui/js_core/login/login.js","ydcommon:widget/ui/pay/cashier/cashier.js"]},"ydcommon:widget/read/header/user_bar/user_bar.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/read/header/user_bar/user_bar_9e56ff7.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/ui/js_core/dropDown/dropDown.js","ydcommon:widget/ui/lib/jquery/jquery.js","ydcommon:widget/lib/tangram/base/base.js","ydcommon:widget/ui/js_core/log/log.js","ydcommon:widget/lib/fis/data/data.js","ydcommon:widget/ui/pay/cart/cart.js"]},"ydcommon:widget/ui/js_core/yueduSuggestion/model.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/js_core/yueduSuggestion/model_dfc9462.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/ui/lib/jquery/jquery.js","ydcommon:widget/ui/js_core/mvp/event/event.js","ydcommon:widget/ui/js_core/mvp/model/model.js","ydcommon:widget/lib/tangram/base/base.js"]},"ydcommon:widget/ui/js_core/yueduSuggestion/view.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/js_core/yueduSuggestion/view_4342dda.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/ui/lib/jquery/jquery.js","ydcommon:widget/ui/js_core/mvp/event/event.js","ydcommon:widget/ui/js_core/mvp/view/view.js","ydcommon:widget/ui/js_core/mvp/template/template.js","ydcommon:widget/lib/tangram/base/base.js","ydcommon:widget/ui/lib/url/url.js","ydcommon:widget/ui/js_core/log/log.js"]},"ydcommon:widget/ui/js_core/yueduSuggestion/presenter.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/js_core/yueduSuggestion/presenter_13c19d0.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/ui/lib/jquery/jquery.js","ydcommon:widget/ui/js_core/mvp/presenter/presenter.js","ydcommon:widget/ui/js_core/mvp/event/event.js","ydcommon:widget/ui/js_core/yueduSuggestion/view.js","ydcommon:widget/ui/js_core/yueduSuggestion/model.js","ydcommon:widget/lib/tangram/base/base.js"]},"ydcommon:widget/ui/js_core/yueduSuggestion/yueduSuggestion.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/js_core/yueduSuggestion/yueduSuggestion_e66e983.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/ui/lib/jquery/jquery.js","ydcommon:widget/ui/js_core/yueduSuggestion/presenter.js"]},"ydcommon:widget/ui/js_core/dropDown/dropDown.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/js_core/dropDown/dropDown_86ae180.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/lib/tangram/base/base.js","ydcommon:widget/ui/js_core/widget/widget.js","ydcommon:widget/ui/js_core/layerControl/layerControl.js"]},"ydcommon:widget/ui/read/trigger_ps_tips/trigger_ps_tips.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/read/trigger_ps_tips/trigger_ps_tips_f90904c.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/ui/lib/jquery/jquery.js"]},"ydcommon:widget/read/side_bar/side_bar.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/read/side_bar/side_bar_f11f88e.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/ui/lib/jquery/jquery.js","ydcommon:widget/ui/lib/browser/browser.js","ydcommon:widget/ui/lib/cookie/cookie.js"]},"ydcommon:widget/ui/pay/cashier/cashier.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/pay/cashier/cashier_c451354.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/ui/js_core/template/template.js","ydcommon:widget/ui/lib/jquery/jquery.js","ydcommon:widget/ui/lib/lang/lang.js","ydcommon:widget/ui/js_core/_dialog/_dialog.js","ydcommon:widget/ui/lib/browser/browser.js","ydcommon:widget/ui/js_core/log/log.js","ydcommon:widget/ui/js_core/mvp/template/template.js"]},"ydcommon:widget/ui/pay/cart/cart.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/pay/cart/cart_275d155.js","pkg":"ydcommon:p6","deps":["ydcommon:widget/ui/lib/jquery/jquery.js","ydcommon:widget/ui/js_core/mvp/event/event.js","ydcommon:widget/lib/fis/data/data.js"]},"ydcommon:widget/read/top_reco/top_reco.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/read/top_reco/top_reco_5ce7444.js","deps":["ydcommon:widget/ui/lib/jquery/jquery.js","ydcommon:widget/ui/read/trigger_ps_tips/trigger_ps_tips.js","ydcommon:widget/ui/lib/cookie/cookie.js","ydcommon:widget/ui/js_core/countdown/countdown.js"]},"ydcommon:widget/ui/read/drop_ax/drop_ax.js":{"url":"http://static.wenku.bdimg.com/static/ydcommon/widget/ui/read/drop_ax/drop_ax_e7c7b8f.js","deps":["ydcommon:widget/ui/lib/jquery/jquery.js","ydcommon:widget/ui/js_core/widget/widget.js","ydcommon:widget/ui/lib/cookie/cookie.js"]},"ydcore:widget/ui/vcode/vcode.js":{"url":"http://static.wenku.bdimg.com/static/ydcore/widget/ui/vcode/vcode_2a016b6.js","pkg":"ydcore:p3","deps":["ydcommon:widget/ui/lib/jquery/jquery.js"]},"ydcore:widget/ui/slide/slide.js":{"url":"http://static.wenku.bdimg.com/static/ydcore/widget/ui/slide/slide_af5cf83.js","pkg":"ydcore:p3","deps":["ydcommon:widget/ui/lib/jquery/jquery.js"]},"ydcore:widget/ui/lazy_load/lazy_load.js":{"url":"http://static.wenku.bdimg.com/static/ydcore/widget/ui/lazy_load/lazy_load_09bf59b.js","pkg":"ydcore:p3","deps":["ydcommon:widget/ui/lib/jquery/jquery.js","ydcommon:widget/ui/lib/browser/browser.js"]},"ydcore:widget/ui/placeholder/placeholder.js":{"url":"http://static.wenku.bdimg.com/static/ydcore/widget/ui/placeholder/placeholder_036beb3.js","pkg":"ydcore:p3","deps":["ydcommon:widget/ui/lib/jquery/jquery.js"]}},"pkg":{"ydcommon:p5":{"url":"http://static.wenku.bdimg.com/static/ydcommon/pkg/pkg_ydcommon_lib_442ebd1.js"},"ydcommon:p7":{"url":"http://static.wenku.bdimg.com/static/ydcommon/pkg/pkg_ydcommon_yui_97b6b64.js"},"ydcommon:p6":{"url":"http://static.wenku.bdimg.com/static/ydcommon/pkg/pkg_ydcommon_base_dd4128d.js"},"ydcore:p3":{"url":"http://static.wenku.bdimg.com/static/ydcore/pkg/pkg_ydcore_comm_7237940.js"}}});</script>
<script type="text/javascript" src="http://static.wenku.bdimg.com/static/ydcommon/pkg/pkg_ydcommon_lib_442ebd1.js"></script>
<script type="text/javascript" src="http://static.wenku.bdimg.com/static/ydcommon/pkg/pkg_ydcommon_base_dd4128d.js"></script>
<script type="text/javascript" src="http://static.wenku.bdimg.com/static/ydcommon/pkg/pkg_ydcommon_yui_97b6b64.js"></script>
<script type="text/javascript" src="http://static.wenku.bdimg.com/static/ydcommon/widget/read/top_reco/top_reco_5ce7444.js"></script>
<script type="text/javascript" src="http://static.wenku.bdimg.com/static/ydcore/pkg/pkg_ydcore_yueduIndex_d09c3fc.js"></script>
<script type="text/javascript">!function(){    require.async(['ydcommon:widget/ui/lib/jquery/jquery.js', 'ydcommon:widget/ui/read/drop_ax/drop_ax.js'], function ($, DropAx) {
                    $(function () {
                var ax = new DropAx({
                    backgroundImage:'http:\/\/bosstatic.yuedu.bdimg.com\/v1\/topic\/shiyizhuhuodongxiachenye.jpg',
                    link:'http:\/\/yuedu.baidu.com\/promotion\/activity\/1001zhuye2016?fr=xiachen',
                    dropHeight: 340,
                    showTime: Number('5000'),
                    needTimeCountDown: false,
                    needClose: true,
                    cookieExpireTime: 86400000,
                    startTime: Number('1475251200000'),
                    endTime: Number('1475856000000')
                });
            });
            });
}();
!function(){	require.async(["ydcommon:widget/lib/tangram/base/base.js", "ydcommon:widget/ui/lib/jquery/jquery.js", "ydcommon:widget/ui/js_core/yueduSuggestion/yueduSuggestion.js"],function(e,n,o){var t=n(".s-word").get(0),i=n(".s-placeholder").get(0),u=e.string.trim(baidu.dom.getAttr(t,"data-default"));""!=u&&function(){function n(){""==e.string.trim(t.value)&&e.dom.setStyle(i,"display","inline")}e.on(t,"focus",function(){e.dom.setStyle(i,"display","none")}),e.on(t,"blur",n),e.on(i,"click",function(){t.focus()}),e.on(e.g("topSearchBox"),"submit",function(){""==e.string.trim(t.value)&&(e.dom.setStyle(i,"display","none"),t.value=u)
}),n()}(),n(".s-submit").click(function(){n(".read-searchbox .search").submit()}),n(document).ready(function(){var n=o({el:e.dom.g("s-word-1")});window.sug=n})});;
}();
!function(){            require.async(["ydcommon:widget/ui/lib/jquery/jquery.js", "ydcommon:widget/ui/js_core/dropDown/dropDown.js", "ydcommon:widget/ui/lib/browser/browser.js", "ydcommon:widget/ui/lib/cookie/cookie.js"], function ($, dp,browser, cookie) {
                var bookDropToggle = $('.j_ub-drop-toggle');
                var bookDrop = dp.dropDownCreate({
                    bindEl:$('.j_ub-drop-toggle').get(0),
                    el:$('.j_ub-drop').get(0)
                });
                bookDrop.on('onShowBefore', function (e) {
                    bookDropToggle.addClass('hover');
                });
                bookDrop.on('onHideBefore', function (e) {
                    bookDropToggle.removeClass('hover');
                });
                function showMsgTips(msgCount, msgInfo){
                  var messageLiEl = $('.ub-li-message'),
                      messageTipEl = messageLiEl.find('.ub-message-tip');
                  msgCount || (msgCount = 0);
                  msgInfo || (msgInfo = {});
                  if(msgCount > 0 && (!cookie.get('show_msg_tip') || cookie.get('show_msg_tip') != msgCount) && (msgInfo.msg_profit_exist || msgInfo.msg_comment_exist || msgInfo.msg_system_exist)){
                    messageLiEl.find('.profit-msg').toggle(!!msgInfo.msg_profit_exist);
                    messageLiEl.find('.comment-msg').toggle(!!msgInfo.msg_comment_exist);
                    messageLiEl.find('.system-msg').toggle(!!msgInfo.msg_system_exist);
                    if (!msgInfo.msg_comment_exist && (msgInfo.msg_profit_exist || msgInfo.msg_system_exist)) {
                      messageLiEl.find('.all-msg').attr('href', '/ydmessage/browse/msgcenter?tab=2');
                      $('#js-ub-msg').attr('href', '/ydmessage/browse/msgcenter?tab=2');
                    };
                    messageLiEl.find('.msg-tip-close').click(function (e) {
                      messageTipEl.hide();
                      cookie.set('show_msg_tip', msgCount, {
                        path:'/',
                        expires: 60*60*1000 
                      });
                    });
                    messageTipEl.show();
                  }
                }
                $.getJSON('/customer/interface/yueduuserinfo', {t: $.now()}, function(json, textStatus) {
                  var data;
                    if(json && json.data){
                      data = json.data;
                      if(data.is_certified_author){
                        var el = $('.nav-right-myauthor').css('display', 'block');
                        $(document.body).trigger('user.isAuthor');
                      }
                      if(data.is_passed_partner){
                        var el = $('.nav-right-mypartner').css('display', 'block');
                        $(document.body).trigger('user.isPartner');
                      }
                      if(data.msg_count > 0){
                        $('.ub-message-num').html('(' + (data.msg_count > 99 ? 99 : data.msg_count) + ')').toggleClass('message-num-small', data.msg_count <= 9).show();
                        showMsgTips(data.msg_count, data.msg_info);
                      }
                    }
                });
            });
        }();
!function(){    require.async(['ydcommon:widget/read/header/user_bar/user_bar.js']);
}();
!function(){    require.async(["ydcommon:widget/lib/tangram/base/base.js", "ydcommon:widget/ui/js_core/login/login.js", "ydcommon:widget/ui/js_core/dropDown/dropDown.js"], function (T, login, dropDown) {
        T.dom.ready(function(){
            var TE = T.event,
                G = T.g;
            var pathName = document.location.pathname,
            navTest = {
                "nav-index":/^\/$/i,
                "nav-category":/^\/book\/list/i,
                "nav-rank":/^\/rank/i,
                "nav-author":/^\/author/i,
                // "nav-activity":/^\/activity\/index/i,
                "nav-vip":/^\/vip/i,
                "nav-mobile" : /^\/apps/i,
                "nav-org": /^\/partner\/index/i
            },
            _login = login.login;
            for(var item in navTest){
                if ( navTest.hasOwnProperty( item ) ) {
                    var tmp = navTest[item];
                    if(tmp && tmp.test && tmp.test(pathName)){
                        $('.'+item).parent().addClass('current');
                    }
                }
            }
            // add by lizhaoji01
            $('.nav-right-mybook').on('click', function(e) {
                e.preventDefault();
                login.login.verlogin(function(){
                    window.location.href = '/customer/mybook?fr=head_nav';
                });
            });
        });
    });
}();
!function(){				require.async(["ydcommon:widget/ui/lib/jquery/jquery.js", "ydcommon:widget/ui/lib/cookie/cookie.js"],function(e){try{window.__header_ax_href__&&window.__header_ax_img__&&e('<a class="header-ax" href="'+window.__header_ax_href__+'"  target="_blank"><img src="'+window.__header_ax_img__+'" data-src="" /></a>').appendTo(".read-searchbox-inner")}catch(_){}});;
	}();
!function(){		require.async(['ydcommon:widget/ui/lib/jquery/jquery.js', 'ydcommon:widget/read/side_bar/side_bar.js'],function($,side_bar){
			side_bar.init(parseInt(''), '');
		});
	}();</script>
